<%@page import="com.drerp.RH.Colaborador"%>
<%@page import="com.drerp.RH.Contrato"%>
<%@page import="com.drerp.RH.Cargo"%>

<%@page import="java.util.List"%>  


<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link rel="StyleSheet" href="../styles.css" type="text/css" media=screen />

<title>Dr. ERP - Detalhes de  Cargo</title>
</head>

<body>

<jsp:include page="/nav/header.jsp" />

<div class="body">

	<jsp:include page="/nav/menu.jsp" />
	
	<div class="center">
		
		<% 
			long cargo_id = Long.parseLong(request.getParameter("id"));
			Cargo cargo = Cargo.encontrarCargoPorId(cargo_id);
		%>
		
		
		<h1>Dados do Cargo</h1>
		
		Nome: <%= cargo.getNome() == null? "-" : cargo.getNome() %> <br />
		Descricao: <%= cargo.getDescricao() == null? "-" : cargo.getDescricao()%> <br />
		Salario_base: <%= cargo.getSalario_base() == null? "-" : cargo.getSalario_base()%> <br />
		
		<p> <a href="editar.jsp?id=<%=cargo_id%>" class="button" style="float: right; margin: 10px;">Editar Cargo</a></p>
		
		
		&nbsp; &nbsp; &nbsp;
		<a href="lista.jsp" class="button" style="float: right; margin: 10px;">Voltar</a>
		
	</div>

</div>
</body>













	


